* {
  padding: 0;
  margin: 0;
  box-sizing:border-box;
}
html,body,#app {
  width: 100%;
  height: 100%;
  box-sizing: border-box;
  color: #d3d3dd;
  overflow: hidden;
}
.bg {
  position: relative;
  background-color: #11105d;
  width: 100%;
  height: 100%;
}

/* 边框样式  */
.boxstyle {
  border:1px solid rgba(100, 140, 255,.2);
  box-shadow: rgb(29, 72, 196) 0px 0px 20px 2px inset;
  background: rgba(0, 0, 0,.2);  
  box-sizing: border-box;
  position: relative;
}
/* 边框的左上角和右下角的样式  伪元素来设置 */
.boxstyle::before,
.boxstyle::after {
  position: absolute;
  content: '';
  width: 20px;
  height: 30px;
}
/* 左上角  */
.boxstyle::before {
  left:-1px;
  top:-1px;
  border-left: 2px solid #0258F0;
  border-top:  2px solid #0258F0;
}
/* 右下角  */
.boxstyle::after {
  right:-1px;
  bottom:-1px;
  border-right: 2px solid #0258F0;
  border-bottom: 2px solid #0258F0;
}
/* 每个框的title */
.box-title {
  width: 100%;
  height: 40px;
  line-height: 40px;
  background-color: rgba(74, 110, 218, 0.2);
  padding: 0 20px;
  border-radius: 8px;
}

.title {
  height: 100px;
}

.main {
  width: 100%;
  height: calc(100% - 100px);
  padding: 0 20px 10px;
  display: grid;
  gap:20px;
  justify-content:center;
  align-content: center;
  grid-template-columns: repeat(4, 24%);
  grid-template-rows: 1fr 1fr 1fr;
}
/* 直接子元素div padding */
.main>div {
  padding: 10px 20px;
}
.main div:nth-child(2) {
  grid-column: 2 / 4
}
.main div:nth-child(4) {
  grid-column: 1 / 4
}
.main div:nth-child(8) {
  grid-column: 3 / 5;
}


